<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>注册页面</title>
	<link rel="stylesheet" href="<%=path %>/css/bootstrap.min.css" />
	<link rel="stylesheet" href="<%=path %>/css/easyui.css"/>
	<style>
		body{
		background-color: #f1f1f1;
		}
		.lightBg{
			background-color: #fff;
			padding: 10px 20px;
		}
		.registBody{
			padding: 10px 20px;
		}
		#danwei,#geren{
			margin-top: 40px;
		}
	</style>
</head>

<script type="text/javascript">  
  function agree(){ 
  var check = document.getElementsByTagName('input')[0];
  console.log(check.checked);
  if(!check.checked){
      $("#next").attr("disabled",true);
  }else{
     $("#next").attr("disabled",false);
  }
    }
    
    function next(){
    $("#nextt").attr("disabled",false);
    }
    
</script>   

E
<body>

	<div class="container">
		<div class="row lightBg">
			<!--标题-->
			<h2 class="pull-left"><img src="<%=path %>/images/logo.png" style="width: 80px;"> 智游科技项目申报系统</h2>
			<p class="pull-right" style="margin-top: 20px;"><a href="../news/toIndex" class="btn btn-warning">返回首页</a></p>
		</div>
		<div class="row" style="margin-top: 20px;">
		<div class="panel panel-info">
			<div class="panel-heading">注册向导</div>
			<div class="panel-body">
				<div class="registBody">
					<p><strong>请根据您的工作职责，选择相应的身份进行注册：</strong></p>
					<ul class="nav nav-tabs nav-justified">
						<li role="presentation" class="active" id="dtab"><a href="#"><img src="../images/icon01.gif"><div>项目负责人</div></a></li>
						<li role="presentation" class="" id="gtab"><a href="#"><img src="../images/icon02.gif"><div>项目申报单位</div></a></li>
					</ul>
					<div id="danwei">
						<p>您当前选择的注册身份是：项目负责人</p>
						<p>角色对应职能：</p>
						<ol >
							<li>对本单位的项目进行管理；</li>
							<li>向所属申报单位体检申报的项目信息；</li>
						</ol>
						<p><input type="checkbox" onclick="agree()"  checked="true">	我已经仔细阅读并同意本系统的<a href="">注册协议条例！</a> </p>
						<form action="toGeRenReg">
						<input type="submit" id="next" value="下一步" class="btn btn-primary" >
						</form>
					</div>
					<div id="geren" class="hidden">
						<p>您当前选择的注册身份是：申报单位</p>
						<p>角色对应职能：</p>
						<ol >
							<li>注册单位用户名，维护单位信息，管理本单位的项目申报人；</li>
							<li>对本单位所申报的项目进行管理和审核；</li>
							<li>向成都市相应管理部门提交本单位所申报的项目；</li>
						</ol>
						<p><input type="checkbox" onclick="next()">	我已经仔细阅读并同意本系统的<a href="">单位注册协议条例！</a> </p>
						<form action="toDanWeiReg">
						<input type="submit" disabled="true" id="nextt" value="下一步" class="btn btn-primary" >
						</form>
					</div>
				</div>
			</div>
		</div>
		</div>
		<footer style="margin-top:40px;">
			<p class="text-center">版权归智游教育所有</p>
		</footer>
	</div>




	<script src="<%=path %>/js/jquery1.12.4.min.js"></script>
	<script src="<%=path %>/js/bootstrap.min.js"></script>
	<script src="<%=path %>/js/jquery.easyui.min.js"></script>
	<script type="text/javascript">
		$(function(){
			$('#dtab').click(function () {
				if(!$(this).hasClass('active')){
					$('#gtab').removeClass('active');
					$('#geren').addClass('hidden');
					$('#dtab').addClass('active');
					$('#danwei').removeClass('hidden');
				}
			});
			$('#gtab').click(function () {
				if(!$(this).hasClass('active')){
					$('#dtab').removeClass('active');
					$('#danwei').addClass('hidden');
					$('#gtab').addClass('active');
					$('#geren').removeClass('hidden');
				}
			});
		});
	</script>
</body>
</html>